#include <iostream>
#include <stdio.h>
#include "node.h"

int main(int argv, char**argc)
{
    printf("************  test hello zc!!!   **************\n");
    /* add test code! */
    //客户端测试 

	//需要解析的语句 
	string statement = "3 * 4 / 2 % 4";
	
	//解析器 
	Calculator calculator;
	calculator.bulid(statement);
	
	//计算结果 
	int result = calculator.compute();
	
	//输出 
	cout << statement << " = " << result << endl;
	
    
    return 0;
}
